<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		
<script type="text/javascript" src="../../js/mui/mui.js?v2.0.43" ></script>
<script type="text/javascript" src="../../js/config.js?v2.0.43"></script>
<script type="text/javascript" src="../../js/zepto.min.js?v2.0.43"></script>
<script type="text/javascript" src="../../js/layer_mobile/layer.js"></script>
<script type="text/javascript" src="../../js/common.js?v2.0.43"></script>
<script type="text/javascript" src="../../js/simple-plugin.js?v2.0.43"></script>

<script>
	//判断登陆状态
	var userInfo = getLocalUserInfo();
	if(!userInfo){
		layer.open({
	    shadeClose: false,
	    content: '请先登录'
	    , btn: ['确定']
	    , yes: function (index) {
	    	WeixinJSBridge.invoke('closeWindow',{},function(res){
			}); 	
	    }
	    });
	}else{
    	userLogout();
        layer.open({
		    shadeClose: false,
		    content: '退出成功'
		    , btn: ['确定']
		    , yes: function (index) {
		    	WeixinJSBridge.invoke('closeWindow',{},function(res){
				}); 	
		    }
	    });       
	}
</script>
</body>
</html>
